<?php
require_once("TestFormData.php");
/*
 * Created on 8 juil. 08
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
?>



<?php
 
 	$form = new TestFormData();
 	$form->addFormElement(new FormElement("USER.FIRST_NAME", "First name")); 	
	$form->addFormElement(new FormElement("USER.LAST_NAME", "Last name"));
	$form->addFormElement(new TextElement("USER.FULL_NAME", "Full name......"));
	
	
	$form ->addFormEvent("USER.FIRST_NAME","click");
	 
	session_start();
	//$_SESSION['FORM_DATA'] = $form ;
	$_SESSION['FORM_DATA'] = serialize($form);
	
	header("Location:out.php");

?>
